/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package modelo;

/**
 *
 * @author Cristian Perez
 */
public class Articulos {
    private int id;
    private int cod;
    private String descrip;
    private float preCosto;
    private float preVenta;
    private int stkAct;
    private int stkMin;

    public Articulos () {}

      public Articulos (int cod, String descrip, float pCosto, float pVenta, int stkAct, int stkMin) {
        this.setCod(cod);
        this.setDescrip(descrip);
        this.setPreCosto(pCosto);
        this.setPreVenta(pVenta);
        this.setStkAct(stkAct);
        this.setStkMin(stkMin);
    }

    public Articulos (int id, int cod, String descrip, float pCosto, float pVenta, int stkAct, int stkMin) {
        this(cod, descrip, pCosto, pVenta, stkAct, stkMin);
        this.setId(id);
    }

    /**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the cod
     */
    public int getCod() {
        return cod;
    }

    /**
     * @param cod the cod to set
     */
    public void setCod(int cod) {
        this.cod = cod;
    }

    /**
     * @return the descrip
     */
    public String getDescrip() {
        return descrip;
    }

    /**
     * @param descrip the descrip to set
     */
    public void setDescrip(String descrip) {
        this.descrip = descrip;
    }

    /**
     * @return the preCosto
     */
    public float getPreCosto() {
        return preCosto;
    }

    /**
     * @param preCosto the preCosto to set
     */
    public void setPreCosto(float preCosto) {
        this.preCosto = preCosto;
    }

    /**
     * @return the preVenta
     */
    public float getPreVenta() {
        return preVenta;
    }

    /**
     * @param preVenta the preVenta to set
     */
    public void setPreVenta(float preVenta) {
        this.preVenta = preVenta;
    }

    /**
     * @return the stkAct
     */
    public int getStkAct() {
        return stkAct;
    }

    /**
     * @param stkAct the stkAct to set
     */
    public void setStkAct(int stkAct) {
        this.stkAct = stkAct;
    }

    /**
     * @return the stkMin
     */
    public int getStkMin() {
        return stkMin;
    }

    /**
     * @param stkMin the stkMin to set
     */
    public void setStkMin(int stkMin) {
        this.stkMin = stkMin;
    }
    
}
